finding the angle between two vectors u and v